package myschool.cycleadvanced.student;

public class Triangle {
    /**
     *输出三角形
     */
    public static void main(String[] args) {
        for (int i = 0; i <= 5; i++) {
            for (int j = 0; j < (i*2-1); j++) {
                System.out.print("*");
            }
            System.out.print("\n");
        }
    }
}
